package com.tanchengjin.admin.modules.blog.enumerations;

public enum ApiExceptionMessage {
    INVALID_TOKEN(-1000, "invalid token");

    private final int code;
    private final String message;

    ApiExceptionMessage(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
